package com.sctvcloud.qingchuan.beans;

import com.ruihang.generalibrary.utils.IShares;

import java.util.List;

/**
 * 新闻详情中的Article
 */
public class AccountNewsArticleBean implements IShares {
    private long id;// 150450
    private String title;
    private String logo;//封面
    private String authorId;//所属公众号
    private String content;
    private List<NewsVideoVo> videos;
    private String publishDate;
    private int diggUp;//": 0,
    private int status;//": 0,
    private int commentCount;//": 0,    //评论数
    private String commentFlag;//": "1",    //是否允许评论
    private String preViewPath;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getCommentFlag() {
        return commentFlag;
    }

    public void setCommentFlag(String commentFlag) {
        this.commentFlag = commentFlag;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public List<NewsVideoVo> getVideos() {
        return videos;
    }

    public void setVideos(List<NewsVideoVo> videos) {
        this.videos = videos;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(String publishDate) {
        this.publishDate = publishDate;
    }

    public int getDiggUp() {
        return diggUp;
    }

    public void setDiggUp(int diggUp) {
        this.diggUp = diggUp;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPreViewPath() {
        return preViewPath;
    }

    public void setPreViewPath(String preViewPath) {
        this.preViewPath = preViewPath;
    }

    @Override
    public String getShareTitle() {
        return title;
    }

    @Override
    public String getShareH5() {
        return preViewPath;
    }

    @Override
    public String getShareImage() {
        return logo;
    }

    @Override
    public String getShareDigest() {
        return null;
    }

    @Override
    public String getShareURL() {
        return preViewPath;
    }
}
